package com.morgan.test;

public class PerformanceUtil {
    
    public static void start() {
//        String key = String.valueOf(System.currentTimeMillis());
//        long startTime = System.currentTimeMillis();
//        long startMemory = Runtime.getRuntime().totalMemory() 
//            - Runtime.getRuntime().freeMemory();
        
        
    }
    
    
    class PerformanceElement {
        private long startTime;
        private long startMemory;

        public PerformanceElement(long startTime, long startMemory) {
            this.startTime = startTime;
            this.startMemory = startMemory;
        }
        
        public long getStartTime() {
            return startTime;
        }
        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getStartMemory() {
            return startMemory;
        }
        public void setStartMemory(long startMemory) {
            this.startMemory = startMemory;
        }
    }

}
